JavaScript

A5.PanelNavigatorgetPanel Method

Syntax

A5.PanelNavigator.getPanel(panel)

Arguments

panelstring

The name of the panel to get. Multiple nested panels (such as a panel card in a panel layout) can be retrieved by using a ":" to separate names.

Returns

panelobject

The panel object. Actual child panel class accessible through the "src" property of the returned object. See A5.PanelNavigator Panel Object.

Description

Get a child panel of the navigator.

Example

// assume pObj is a pointer to a panel class
var mPanel = pObj.getPanel('main'); // get a pointer to the panel named main
var mPanelObj = mPanel.src; // get a poitner to the "main" panel class
mPanel.setDisplay('footer',false); // set the display of the footer to false